package ru.dadle8;

public class Main {
    public static void main(String[] args) {
        String topicName = "send-order-event";

        SampleProducer sampleProducer = new SampleProducer();
        sampleProducer.sendMessages(topicName);

        AsyncSampleProducer asyncSampleProducer = new AsyncSampleProducer();
        asyncSampleProducer.sendMessages(topicName);

        String customersTopicName = "customers";
        ProducerWithSerializer producerWithSerializer = new ProducerWithSerializer();
        producerWithSerializer.sendMessages(customersTopicName);
    }
}
